import React from 'react';
import { type SvgIconProps } from '@mui/material/SvgIcon';
import AppSvgIcon from 'components/shared/icons/AppSvgIcon';

const LinkIcon: React.FC<SvgIconProps> = ({ sx, ...props }) => (
  <AppSvgIcon sx={sx} viewBox='0 0 25 24' {...props}>
    <svg
      width='25'
      height='24'
      viewBox='0 0 25 24'
      fill='none'
      xmlns='http://www.w3.org/2000/svg'
    >
      <path
        fillRule='evenodd'
        clipRule='evenodd'
        d='M13.2753 2.75068C14.4069 1.65773 15.9225 1.05296 17.4957 1.06663C19.0689 1.0803 20.5737 1.71132 21.6862 2.82377C22.7986 3.93621 23.4296 5.44109 23.4433 7.01427C23.457 8.58745 22.8522 10.1031 21.7593 11.2347L21.7471 11.2471L18.7472 14.2469C18.7472 14.247 18.7473 14.2469 18.7472 14.2469C18.139 14.8554 17.4069 15.326 16.6008 15.6267C15.7947 15.9274 14.9334 16.0512 14.0752 15.9897C13.217 15.9283 12.3821 15.683 11.6271 15.2705C10.872 14.858 10.2146 14.2879 9.69922 13.5989C9.36841 13.1567 9.45876 12.53 9.90101 12.1992C10.3433 11.8684 10.9699 11.9587 11.3008 12.401C11.6443 12.8603 12.0826 13.2403 12.586 13.5153C13.0893 13.7903 13.646 13.9539 14.2181 13.9949C14.7902 14.0358 15.3644 13.9533 15.9018 13.7528C16.4392 13.5523 16.9272 13.2386 17.3328 12.833L20.3264 9.83931C21.0514 9.08554 21.4525 8.07768 21.4434 7.03165C21.4343 5.98286 21.0136 4.97961 20.272 4.23798C19.5303 3.49635 18.5271 3.07567 17.4783 3.06656C16.4318 3.05746 15.4235 3.45887 14.6696 4.18452L12.955 5.88913C12.5634 6.27851 11.9302 6.27667 11.5408 5.88501C11.1514 5.49335 11.1533 4.86018 11.5449 4.4708L13.2649 2.7608L13.2753 2.75068ZM8.39914 8.37325C9.20525 8.07255 10.0666 7.94873 10.9248 8.01019C11.7829 8.07165 12.6179 8.31695 13.3729 8.72946C14.1279 9.14197 14.7854 9.71203 15.3008 10.401C15.6316 10.8432 15.5412 11.4699 15.099 11.8007C14.6567 12.1315 14.03 12.0412 13.6992 11.5989C13.3557 11.1396 12.9173 10.7596 12.414 10.4846C11.9106 10.2096 11.354 10.0461 10.7819 10.0051C10.2098 9.9641 9.63555 10.0466 9.09814 10.2471C8.56074 10.4476 8.07273 10.7613 7.66722 11.1669L4.67358 14.1606C3.94854 14.9144 3.54749 15.9222 3.55658 16.9683C3.56569 18.0171 3.98637 19.0203 4.728 19.762C5.46963 20.5036 6.47288 20.9243 7.52167 20.9334C8.56773 20.9425 9.5756 20.5414 10.3294 19.8164L12.0329 18.1129C12.4234 17.7223 13.0566 17.7223 13.4471 18.1129C13.8376 18.5034 13.8376 19.1365 13.4471 19.5271L11.7371 21.2371L11.7247 21.2493C10.5931 22.3422 9.07747 22.947 7.50429 22.9333C5.93111 22.9196 4.42624 22.2886 3.31379 21.1762C2.20134 20.0637 1.57032 18.5588 1.55665 16.9857C1.54298 15.4125 2.14775 13.8969 3.2407 12.7653L3.25288 12.7529L6.25275 9.75299C6.25271 9.75303 6.25279 9.75294 6.25275 9.75299C6.86099 9.14456 7.59308 8.67393 8.39914 8.37325Z'
        fill='#528EFF'
      />
    </svg>
  </AppSvgIcon>
);

export default LinkIcon;
